const mongoose = require('mongoose');

const schema = new mongoose.Schema({
    collector_phone:    {type: String,default: ''},
    collector_name:     {type: String,default: ''},
    order_info:[{
        belong_phone:    {type: String,default: ''},//订单发起人账号
        belong_name:     {type: String,default: ''},
        order_id:        {type: String,default: ''},
        status:          {type: Number,default: 0}
    }]
})
module.exports = mongoose.model('orderCollector',schema);